<script setup lang="ts">
import {
    Check,
    Delete,
    Edit,
    Message,
    Search,
    Star,
} from '@element-plus/icons-vue'
</script>

<template>
    <div>
        <el-button>Default</el-button>
        <el-button type="primary">Primary</el-button>
        <el-button type="success">Success</el-button>
        <el-button type="info">Info</el-button>
        <el-button type="warning">Warning</el-button>
        <el-button type="danger">Danger</el-button>
    </div>
    <div>
        <el-button :icon="Search" circle />
        <el-button type="primary" :icon="Edit" circle />
        <el-button type="success" :icon="Check" circle />
        <el-button type="info" :icon="Message" circle />
        <el-button type="warning" :icon="Star" circle />
        <el-button type="danger" :icon="Delete" circle />
    </div>
    <div class="common-layout">
        <el-container>
            <el-header class="my-header">Header</el-header>
            <el-container>
                <el-aside class="my-aside">Aside</el-aside>
                <el-container>
                    <el-main class="my-main">Main</el-main>
                    <el-footer class="my-footer">Footer</el-footer>
                </el-container>
            </el-container>
        </el-container>
    </div>
</template>
<style scoped>
.my-header {
    background-color: #409EFF;
    height: 100px;
}

.my-aside {
    background-color: #6ce113;
    height: calc(100vh - 100px);
}

.my-main {
    background-color: #dee90c;
}

.my-footer {
    background-color: #d816df;
}
</style>